#include "Array.hpp"

Array::Array( Expression* arrayDef, Expression* index )
{
  _arrayDef=arrayDef;
  _index=index;
}

Array::~Array ()
{
  delete _arrayDef;
  delete _index;
}

void Array::compute ()
{

}

void Array::display ( const unsigned int shift) const
{
  _arrayDef->display();
  std::cout << "[";
  _index->display();
  std::cout << "]";
}
